projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bab962
)
Fix a leak in googledir that I introduced yesterday.
author
robertlipe
<robertlipe@gmail.com>
Mon, 24 Feb 2014 17:49:44 +0000
(17:49 +0000)
committer
robertlipe
<robertlipe@gmail.com>
Mon, 24 Feb 2014 17:49:44 +0000
(17:49 +0000)
gpsbabel/googledir.cc
patch
|
blob
|
history
diff --git
a/gpsbabel/googledir.cc
b/gpsbabel/googledir.cc
index 90b2d6171bd6ed2aa9bf8bc737dbfb0883c39bab..06f8b260e0dc8f3ae48563aaf0024bc93bf505dd 100644
(file)
--- a/
gpsbabel/googledir.cc
+++ b/
gpsbabel/googledir.cc
@@
-106,7
+106,9
@@
goog_poly_e(xg_string args, const QXmlStreamAttributes*)
utf_string utf;
utf.is_html = 1;
utf.utfstring = instructions;
- routehead->rte_desc = strip_html(&utf);
+ char *s = strip_html(&utf);
+ routehead->rte_desc = s;
+ xfree(s);
instructions = QString();
}
}